package cn.tedu.sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Item {
    private Integer id;
    private String name;
    private Integer number;

    //检验lombok是否生效,校验能否通过编译即可
//    public static void main(String[] args) {
//        Item ss = new Item(5, "ss", 4);
//        System.out.println(ss.id);
//    }
}
